[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
HelpReserved (nNew,nAdd) --> nOldValue:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Functions:
~~~~~~~~~~
Have a look on the following eexamples:
HelpReserved(nNew)
There are nNew items reserved in help database for your aplication.
The RecNo() of help databse will be 1 .. nNew.
HelpReserved(,nAdd)
The reserved items are appended with next nAdd items.
HelpReserved()
It returns the numbr of reserved items in help database.
Warning!
The initioalising of objects of Dbf,View,Mnu classes causes the reeservetion
of items in help database. If you want to have your own memvars and help text
conected to them, make the reservation before the object of Dbf class is
created. By HelpAssoc() function dd the variable name and other parameters
to Association array, and after the creation of GET object select the right
get:Name to be identical and unique with your variable name.
Example:
~~~~~~~~
//creation of a help
HelpAssoc("MEMORY->MYVAR",My variable",HelpReserved(,+1))
object oD of Dbf init ... //databse object created
...
...
//creation and editation of My variable
LOCAL MyVar:=Space(10)
LOCAL g:=GetNew(....)
g:Name:="MEMORY->MYVAR"
EditGet(g) //the library OBJECT.lib maintains the help system function
...
Return value:
~~~~~~~~~~~~~
number of reseved help database items
Source code is in file Objec2.prg.
See Also:
HelpField
HelpAssoc
ChangeAssoc
ReadHelpVar
HelpKeys
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson